package User;

import Ioperate.Ioperate;
import Ioperate.*;
import java.util.Scanner;

/**
 * @Author liangzai
 * @Description:
 */
public class NormalUser extends User{
    public NormalUser(String name) {
        super(name);
        this.ioperates = new Ioperate[]{
                new Exit(),
                new CheckBook(),
                new BrowwedBook(),
                new ReturnBook()
        };
    }

    public int mune(){
        System.out.println("******普通用户******");
        System.out.println("1.查找图书");
        System.out.println("2.借阅图书");
        System.out.println("3.归还图书");
        System.out.println("0.退出系统");
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入你的操作：");
        int choice = scanner.nextInt();
        return choice;
    }


}
